/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

import java.util.concurrent.Callable;

/**
 * <p>Project: jse2303 - Thread3</p>
 * <p>Powered by webrx On 2023-07-26 09:24:31</p>
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Thread3 implements Callable<Integer> {
    private Integer num;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Thread3(Integer num) {
        this.num = num;
    }

    public Thread3() {
    }

    @Override
    public Integer call() throws Exception {
        return this.num * this.num;
    }
}
